class Api::CustomProductsController < Api::BaseController
  before_action :set_product
  def unuse
    @product.unuse!
    render json: {status: true}
  end

  private
  def set_product
    @product = StoreProduct.find(params[:id])
  end
end
